﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BW.EatRabbit.Domain
{
    /// <summary>
    /// 审计字段
    /// </summary>
    public class BaseModel
    {
        /// <summary>
        /// 创建时间
        /// </summary>
       public DateTime CreatedTime { get; set; }= DateTime.Now;
        /// <summary>
        /// 创建人
        /// </summary>
       public string? Creator {  get; set; } 
        /// <summary>
        /// 更新时间
        /// </summary>
       public DateTime? UpdatedTime {  get; set; } 
        /// <summary>
        /// 更新人
        /// </summary>
        public string? Updator { get; set; }

        /// <summary>
        /// 删除标识列
        /// </summary>
        public bool IsDeleted { get; set; } = false;
    }
}
